package com.linxianqin.springbootVue.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.linxianqin.springbootVue.domain.entity.SysDept;

import java.util.List;

/**
 * <p>
 * 部门表 Mapper 接口
 * </p>
 *
 * @author lxq
 * @since 2020-12-16
 */
public interface SysDeptMapper extends BaseMapper<SysDept> {
    /**
     * 递归查询子部门的所有id
     * @param deptId
     * @return
     */
    List<Long> selectDeptListInDept(Long deptId);
}
